Skip to content

1019326: Resolve dependabot issues by updating next dependency#82

Merged
CCMKarthik123 merged 1 commit intomasterfrom
EJ2-1019326-dep
Apr 8, 2026
Merged

1019326: Resolve dependabot issues by updating next dependency#82
CCMKarthik123 merged 1 commit intomasterfrom
EJ2-1019326-dep

Conversation

@BalajiLoganathanSF4826
Copy link
Copy Markdown
Collaborator

Bug description

Dependabot flagged an outdated and vulnerable version of Next.js in package.json.
The existing version (14.2.35) contained security advisories and compatibility warnings. Updating was required to maintain dependency stability and remove security alerts.

Root cause

The project was using an older Next.js (14.2.35) version that Dependabot identified as vulnerable or outdated. This caused dependency mismatch risks, potential security exposure, and triggered automated alerts. The version was not aligned with the recommended patch level for the framework used.

Solution description

Updated Next.js to the latest compatible patch version 15.5.14 as recommended by Dependabot.
This resolves the security alert, ensures dependency consistency, and improves build/runtime stability for the React PDF Viewer examples.

The following issues will be resolved by this change:

medium - Next.js: Unbounded next/image disk cache growth can exhaust storage
medium - Next.js: HTTP request smuggling in rewrites
medium - Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration
high - Next.js HTTP request deserialization can lead to DoS when using insecure React Server Components

Copy link
Copy Markdown
Collaborator

@CCMKarthik123 CCMKarthik123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are fine.

Copy link
Copy Markdown
Collaborator

@CCMKarthik123 CCMKarthik123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are fine.

@CCMKarthik123 CCMKarthik123 merged commit feaf5e0 into master Apr 8, 2026
1 check passed
@CCMKarthik123 CCMKarthik123 deleted the EJ2-1019326-dep branch April 8, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants